from manim import *
from numpy import flip, insert

LV,QL,QH,JH='#75cfb8','#bbdfc8','#f0e5d8','#ffc478'

class p1(MovingCameraScene):
    def construct(self):
        # self.add(NumberPlane())
        # self.camera.frame.scale(0.5)
        # x^2+y^2=r^2 6,8,10
        t=MathTex(r'\int_{\sqrt[3]{\lg 3}}^{\sqrt[3]{\lg 4}} \frac{x^{2} \sin x^{3}}{\sin x^{3}+\sin \left(\lg 12-x^{3}\right)} d x')
        # t.set_color_by_gradient(RED,
        # BLACK,BLACK,BLACK,BLACK,BLACK,BLACK,BLACK,BLACK,BLACK,BLACK,BLACK,BLACK,BLACK,BLACK,
        # JH,BLACK,LV,LV,LV,JH,BLACK,
        # BLACK,
        # LV,LV,LV,JH,BLACK,BLACK,LV,LV,LV,BLACK,BLACK,BLACK,BLACK,BLACK,BLACK,BLACK,JH,BLACK,BLACK,BLACK,JH,)
        self.add(t)
        self.wait()